namespace ext.form
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// Multiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds
	/// support for auto-sizing.
	/// </summary>
	/// <definedin>src\widgets\form\TextArea.js</definedin>
	[ScriptName("TextArea")]
	[ScriptNamespace("Ext.form")]
	[Imported()]
	public partial class TextArea : ext.form.TextField
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		/// <param name="config">Configuration options</param>
		public TextArea(ext.form.TextArea_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		public TextArea()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>
		/// The minimum height to allow when {@link Ext.form.TextField#grow grow}=true
		/// (defaults to 60)
		/// </summary>
		/// <htmlSummary>
		/// The minimum height to allow when &lt;tt&gt;{@link Ext.form.TextField#grow grow}=true&lt;/tt&gt;
		/// (defaults to &lt;tt&gt;60&lt;/tt&gt;)
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TextArea.js</definedin>
		[ScriptName("growMin")]
		public System.Number GrowMin;
		
		/// <summary>
		/// The maximum height to allow when {@link Ext.form.TextField#grow grow}=true
		/// (defaults to 1000)
		/// </summary>
		/// <htmlSummary>
		/// The maximum height to allow when &lt;tt&gt;{@link Ext.form.TextField#grow grow}=true&lt;/tt&gt;
		/// (defaults to &lt;tt&gt;1000&lt;/tt&gt;)
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TextArea.js</definedin>
		[ScriptName("growMax")]
		public System.Number GrowMax;
		
		/// <summary>
		/// true to prevent scrollbars from appearing regardless of how much text is
		/// in the field. This option is only relevant when {@link #grow} is true. Equivalent to setting overflow: hidden, defaults to
		/// false.
		/// </summary>
		/// <htmlSummary>
		/// &lt;tt&gt;true&lt;/tt&gt; to prevent scrollbars from appearing regardless of how much text is
		/// in the field. This option is only relevant when {@link #grow} is &lt;tt&gt;true&lt;/tt&gt;. Equivalent to setting overflow: hidden, defaults to
		/// &lt;tt&gt;false&lt;/tt&gt;.
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TextArea.js</definedin>
		[ScriptName("preventScrollbars")]
		public bool PreventScrollbars;
		
		/// <summary>
		/// A {@link Ext.DomHelper DomHelper} element spec, or true for a default
		/// element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
		/// See {@link Ext.Component#autoEl autoEl} for details. Defaults to:  {tag: &quot;textarea&quot;, style: &quot;width:100px;height:60px;&quot;, autocomplete: &quot;off&quot;}
		/// </summary>
		/// <htmlSummary>
		/// &lt;p&gt;A {@link Ext.DomHelper DomHelper} element spec, or true for a default
		/// element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
		/// See &lt;tt&gt;{@link Ext.Component#autoEl autoEl}&lt;/tt&gt; for details. Defaults to:&lt;/p&gt;
		/// &lt;pre&gt;&lt;code&gt;{tag: &quot;textarea&quot;, style: &quot;width:100px;height:60px;&quot;, autocomplete: &quot;off&quot;}&lt;/code&gt;&lt;/pre&gt;
		/// </htmlSummary>
		/// <definedin>src\widgets\form\TextArea.js</definedin>
		[ScriptName("autoCreate")]
		public ext.auto.System_String_Or_System_Object AutoCreate;
		#endregion
		
		#region Methods
		/// <summary>
		/// Automatically grows the field to accomodate the height of the text up to the maximum field height allowed.
		/// This only takes effect if grow = true, and fires the {@link #autosize} event if the height changes.
		/// </summary>
		/// <definedin>src\widgets\form\TextArea.js</definedin>
		[ScriptName("autoSize")]
		public void AutoSize()
		{
			throw new System.Exception("Imported - not implemented");
		}
		#endregion
	}
}
